package com.ryoma.service.impl;

import com.ryoma.mapper.EndPointMapper;
import com.ryoma.model.EndPoint;
import com.ryoma.service.EndPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service(value = "endPointService")
public class EndPointServiceImpl implements EndPointService {

    @Autowired
    EndPointMapper endPointMapper;

    @Override
    public List<EndPoint> queryEndPointList(EndPoint endPoint) {
        List<EndPoint> endPointList  = endPointMapper.queryEndPointList(endPoint);
        return endPointList;
    }
}
